/*
 * Network.h
 *
 *  Created on: Mar 25, 2011
 *      Author: hxu
 *      Network is an abstract class
 */

#ifndef NETWORK_H_
#define NETWORK_H_
#include "Segment.h"

namespace Cxuh {

template<class Type>
class Network {
public:
	Network();
	virtual ~Network();
	virtual void Add(Cxuh::Segment<Type>*) = 0;	// defined in the derived classes
	int nsink; // # of sinks
};

}

#endif /* NETWORK_H_ */
